package top.tocchen.bookshop.dao;

import org.apache.ibatis.annotations.Mapper;
import top.tocchen.bookshop.entity.OrderItemEntity;
import org.springframework.stereotype.Component;

@Mapper
public interface OrderItemDao {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderItemEntity record);

    int insertSelective(OrderItemEntity record);

    OrderItemEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderItemEntity record);

    int updateByPrimaryKey(OrderItemEntity record);
}